<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>云盘</title>
</head>
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<style type="text/css">
	.col-md-1{
		background: transparent linear-gradient(80deg, #0b4182 1%, #1a78cf 99%) repeat scroll 0% 0%;
	}
	.col-md-11{
		background: #fff url() 0 0 no-repeat;
		height: 1000px;
	}
	ul{
		list-style: none;
	}
	.list{
		height: 100%;
		padding-left: 0px;
		}
	.list li{
		height: 104.6px;
		text-align: center;
		

	}
	.list li a{
		color: #fff;
		font-size: 16px;
	}
</style>
<body>
	<div class="col-md-1">
		<ul class="list">
			<li><img src="./psb.gif" alt=""><a href=""></a></li>
			<li><a href=""><span class="glyphicon glyphicon-cloud-upload" aria-hidden="true"></span><br>上传</a></li>
			<li><a href="">网盘</a></li>
			<li><a href="">网盘</a></li>
			<li><a href="">网盘</a></li>
			<li><a href="">网盘</a></li>
		</ul>
	</div>
	<div class="col-md-11">
		<form action="upload.php" method="post" enctype="multipart/form-data">
			<div class="col-md-12" style="margin:15px 0px;">
				<div class="btn btn-success" style="float:left;"><input type="file" name="up_file" style="float:left;"></div>
				<input type="submit" class="btn btn-default" value="上传" style="float:left;margin-left:15px;">
			</div>
		</form>
		<div>
			<ul>
				<?php foreach ($upbase as $k => $v) { ?>
				<li class="col-md-12" style="margin:30px 0px;">
					<div style="line-height:30px;">
						<div class="col-md-5">
							<a href="" style="float:left; margin-left：80px;"><?php echo basename($v); ?></a>
						</div>
						<div class="col-md-7">
							<a href="./down.php?id=<?php echo $k; ?>" style="float:left;" class="btn btn-primary">下载</a>
							<a href="./delete.php?id=<?php echo $k; ?>" style="float:left;margin-left:15px;" class="btn btn-default">删除</a>
							<span style="float:left;margin-left:70px;"><?php echo (filesize($v)/1024)."kb"; ?></span>
							<span style="float:right; margin-right:120px;"><?php echo date("Y-m-d H:i:s",filemtime($v)) ?></span>
						</div>
						
						
						
						
						
						
						
					</div>
				</li>
				<?php } ?>
			</ul>
		</div>
	</div>
</body>
</html>